package main

type Person struct {
	name string
	sex  byte
	age  int
}

func test(temp Person) {
	temp.age = 20
	println("temp.age=", temp.age)
}

func main() {
	man := Person{"Stormfat", 'm', 19}
	println(&man)
	test(man)
	println(man.age)
	man1 := &Person{"cat", 'm', 20}
	println(man1)
	println(man1.age)
}
